This page last changed on Jul 29, 2009 by rich.

CTD data is provided by a web servlet which can be displayed directly to the browser or can be accessed via a java plot and displayed in a browser applet

Targets are Tomcat on anvil for test, or typhoon for production.

Note: typhoon is port 8080 , anvil is port 8085

Building the code.

  1. Check-out from CVS onto mando in c:\iag\projects\rovctdplots
  2. edit
  3. ant clean
  4. ant prepare
  5. ant compile
  6. ant deploy.datagenerators
  7. ant deploy.libs
  8. ant deploy.plots
  9. ant run.1 (will test plot and datagenerator as a java applictionn).
  10. copy files from c:\iag\projects\rovctdplots\deploy to tempbox as described below.
  11. test directly on anvil
  12. finally, submit remedy ticket to IS to deploy on typhoon
  13. dont forget to CVS checking modified files.

re-deploying the data servlet
1) move or rename typhoon's  C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\rovctd\WEB-INF\classes\org\mbari\rovctd\datagenerators\RovctdDataServlet.class

2) copy file RovctdDataServlet.class from tempbox/rich/\rovctdplots folder to typhoon:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\rovctd\WEB-INF\classes\org\mbari\rovctd\datagenerators\RovctdDataServlet.class

(replacing the old one)

3) restart tomcat server in service panel.

4) test - should return datalist
http://typhoon:8080/rovctd/servlet/RovctdDataServlet?noHTMLHeader=0&&raw=0&platform=vnta&year=2009&yearday=041&domain=epochsecs&r1=p&r2=t&r3=s

*re-deploying the web applet jar file:*

 
1) verify web app is currently running: in your browser
http://typhoon:8080/rovctd/pages/profile.jsp?&raw=1&platform=vnta&dive=3326&domain=p&r1=t&r2=s&r3=o2

- should see a profile plot

2) on typhoon, rename:
c:\ProgramFiles\Apache Software Foundation\Tomcat 5.5\webapps\rovctd\pages\rovctd-signed.jar
to something like old-rovctd-signed.jar

3) copy file from tempbox\rich\rovctd-signed.jar to typhoon's
c:\ProgramFiles\Apache Software Foundation\Tomcat 5.5\webapps\rovctd\pages\rovctd-signed.jar

4) in services panel on typhoon, restart Apache Tomcat

5) exit your browser (to clear any cached version of the plot applet)

6) in your browser - repeat.. (may take a moment for tomcat to reload the jarfile)
http://typhoon:8080/rovctd/pages/profile.jsp?&raw=1&platform=vnta&dive=3326&domain=p&r1=t&r2=s&r3=o2

If so, you can just delete the old jar file, and your done.

the web 'pages' that access the servlet and applet.

Document generated by Confluence on Feb 04, 2026 08:53